home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 1 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  33 lines

  1. Newsgroups: comp.sys.amiga.hardware
  2. Path: FreeNet.Carleton.CA!ai905
  3. From: ai905@FreeNet.Carleton.CA (George Lianeris)
  4. Subject: Re: parallel port programming
  5. Message-ID: <DKGv9n.MqD@freenet.carleton.ca>
  6. Sender: ai905@freenet5.carleton.ca (George Lianeris)
  7. Reply-To: ai905@FreeNet.Carleton.CA (George Lianeris)
  8. Organization: The National Capital FreeNet
  9. References:  <4c6gc3$4o1@st-james.comp.vuw.ac.nz>
  10. Date: Sun, 31 Dec 1995 19:53:47 GMT
  11.  
  12.  
  13. Graham Chiu (gchiu@compkarori.co.nz) writes:
  14. > Are there any books or texts on line to show how to attach devices to
  15. > the parallel port, and program them?  I just want to do some thing
  16. > very simple like control a relay or switch ...
  17. > I have no knowledge of assembler, so basic, c would be preferred.
  18. > Also, I have no knowledge of electronics, so the interface device
  19. > should be very very simple :-)
  20.   No knowledge of elecronics, eh?  You're in a bit of a trouble then. 
  21. There is a particular adress where you set or read the value of the pins
  22. (using a poke or a peek) and another where you can configure each pin as
  23. in or out.  I don't remember them right now, but I'll see if I can look it
  24. up.  BTW, you should get someone who knows electronics to give you a
  25. hand... if you screw something up, you could fry your amiga.
  26.  
  27. --
  28. Lt. Cmdr. George Lianeris   CSS Cathawk, Tactical/Security Officer
  29. Captain George Lianeris     CSS DreamStar, Commanding Officer
  30.